<!DOCTYPE html>
<html>
<head>
  <title></title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <include file="Public/head" />

    <script type="text/javascript">
  function showtopbar(obj,seq){

    if (seq == 1) {
        $('#button1').addClass("active");
        $('#button2').removeClass("active");
        document.getElementById("gamepktop").style.display = "block";
        document.getElementById("usertop_show").style.display = "none";

    } else if (seq == 2) {
       $('#button2').addClass("active");
       $('#button1').removeClass("active");
        document.getElementById("gamepktop").style.display = "none";
        document.getElementById("usertop_show").style.display = "block";
    } 
}
</script>
</head>
<body>





    <div class="container-fluid main-content" style="min-height:560px">
          <div class="col-md-10  col-xs-12 col-sm-10 col-sm-offset-1 col-md-offset-1 col-xs-offset-1"   >
              <h2 style="color: #03c2f9; margin-bottom: 0px;padding-bottom: 0px;"><p class="bg-white" style="margin-bottom: 10px;margin-top: 10px" >添加俱乐部信息</p></h2>
              <h4><p class="bg-info" style="margin-top:0px ;padding:10px" ><a href="{:U('Admin/Club/clublist')}" style="color: white">返回&nbsp;</a></p></h4>
 <p class="bg-info" style="height:33px;">            
                <button class="btn btn-warning active" id="button1" onclick="showtopbar(this,1);">俱乐部信息添加</button>                                             
             
</p>
                         

                    <!--画布1--><div class="index_usertop" id="gamepktop">
              <div class="col-md-3  col-xs-12 col-sm-6 col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
              <h2 style="text-align: center;">俱乐部添加</h2>
                  <form  method="post"  class="form-horizontal" action="{:U(doclubadd)}"  enctype="multipart/form-data" onsubmit="return check();" >
                      <input class="form-control" placeholder="俱乐部名称" type="text" id="clubname" name="clubname" value="" required>
                      <br>
                      <input class="form-control" placeholder="俱乐部地点" type="text" id="clubplace" name="clubplace" required>
                      <br>
                      <textarea class="form-control" placeholder="俱乐部详简介" name="clubnote" ></textarea>
                      <br>
                      <input class="form-control" placeholder="联系电话" type="text" id="clubphone" name="clubphone" >
                      <br>
                      <input class="form-control" placeholder="营业时间"  type="text" id="clubtime" name="clubtime" >
                      <br>
                      <div class="fileupload fileupload-new" data-provides="fileupload">
                      <input type="hidden" value="" name="" >
                          <div class="fileupload-new img-thumbnail"
                               style="width: 110px; height: 110px;background-color:#5f5f5f">
                              <img src="">
                          </div>
                          <div class="fileupload-preview fileupload-exists img-thumbnail"
                               style="width: 110px; max-height: 110px;">
                          </div>                  
                    <span class="btn btn-default btn-file">
                        <span class="fileupload-new">选择</span>
                        <span class="fileupload-exists">重选</span><input type="file" name="file">
                        </span>
                          <span>
                        <a class="btn btn-default fileupload-exists" data-dismiss="fileupload"
                                  href="#">撤销</a>
                        </span>
                      </div>
                      <input class="btn btn-block btn-info "  type="submit" value="添  加">

                  </form>
              </div>      
            </div>

        
     </div>
        
    </div>
  </body>

</html>